﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Administrador_Asistente_AgregarAdeudoAlumno : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnok_Click(object sender, EventArgs e)
    {
        agregAdeudo ag = new agregAdeudo();
        string matricula = ""+Request.QueryString["Matricula"];
        if (ag.AgregarAdeudoAlumno(matricula, txtdescrip.Text, Convert.ToInt32(txtcant.Text))) 
        {
            Response.Redirect("Agragar_Adeudos.aspx");
        }
    }
    protected void txtno_Click(object sender, EventArgs e)
    {
        Response.Redirect("Agragar_Adeudos.aspx");
    }
}